<%--规格列表页--%>
<%@ include file="/common/taglibs.jsp"%>
<%@ taglib prefix="product" tagdir="/WEB-INF/tags/product"%>
<probiz:pageHeading pageHeadingKey="skuOptionList.heading" />

<content tag="buttons">
	<probiz:iconBtn btnType="add" onclick="return fnDoAdd(this);" />
	<probiz:iconBtn btnType="delete" onclick="return fnDoMultiDelete(this);" />
</content>

<search:searchBox formAction="${ctxPath}/product/skuOption.html" enableMoreSearch="false">
	<div class="basic_search">
		<search:basicSearch attrPath="s.skuOptionName" attrNameKey="skuOption.skuOptionName" datatype="String"	operator="LIKE" classes="inputtxt" labelWidth="48px"/>
	</div>
</search:searchBox>

<form name="skuOptionListForm" class="mainForm" method="post">
	<c:set var="editURLPath" value="/product/skuOption.html?doAction=edit&from=list" scope="page" />
	<div class="top clearfix">
		<ul class="tab">
			<li class="curr"><span><fmt:message key="menu.skuOptionList"/></span></li>
		</ul>
		<%@include file="/common/pagingOnlyTop.jsp"%>
	</div>
	<div class="data">
		<c:set var="checkAll">
			<input type="checkbox" name="allbox" onclick="checkAll(this.form)" class="checkbox" />
		</c:set>
		<display:table name="${skuOptionList}" cellspacing="0" cellpadding="0" uid="skuOption" class="list_table" export="false" requestURI="">
			<display:column class="checkbox_column" style="height:50px;"  title="${checkAll}" media="html">
				<input type="checkbox" name="multiIds" value="${skuOption.skuOptionId}" class="checkbox" title="${skuOption.skuOptionName}" />
			</display:column>
			<display:column style="width: 15%;" sortable="true" url="${editURLPath}" paramId="skuOptionId" paramProperty="skuOptionId" decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="skuOption.skuOptionName">
				${skuOption.skuOptionName}
			</display:column>
			<display:column style="width: 15%" property="memo" sortable="true" decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="skuOption.memo" />
			<display:column style="" decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="skuOptionValue.skuOptionValue">
				<dl class="property_02 clearfix">
					<dd>
						<ul class="clearfix">
							<c:forEach items="${skuOption.skuOptionValues}" var="skuOptionValue">
								<product:skuOptionValue skuOptionValue="${skuOptionValue}"/>
							</c:forEach>
						</ul>
					</dd>	
				</dl>
			</display:column>
			
		</display:table>
		<div class="blank10"></div>
		<%@include file="/common/pagingOnly.jsp"%>
	</div>
</form>
<script type="text/javascript">
$j(document).ready(function () {
	highlightTableRows("skuOption");
});
</script>